<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<jsp:include page="Header.jsp" />
<title>Login to ISS Leave Application System</title>
</head>
<body>
<div class="col-md-10 form-group" align="center" style="height: 400px" >
	<form:form method="POST" commandName="userDetail"
		action="${pageContext.request.contextPath}/userdetail/login.html">
		<i>${message}</i>
		
			<table>
				<tbody>

					<tr>
						<td>User Name:</td>
						<td><form:input path="employeeId.email"
								cssClass="form-control" /></td>
						<td><form:errors path="employeeId.email"
								cssStyle="color: red;" /></td>
					</tr>
					
					<tr>
						<td>Password:</td>
						<td><form:input type="password" path="password"
								cssClass="form-control" /></td>
						<td><form:errors path="password" cssStyle="color: red;" /></td>
					</tr>
					<tr>

						<td /></td>
						<td class="form-group pull-right"><input type="submit"
							value="Login" class="btn btn-primary"></td>

						<td><i>${message}</i></td>

					</tr>
				</tbody>
			</table>
		
	</form:form>
	</div>
	<jsp:include page="footer.jsp" />
</body>
</html>